package console

import (
	"github.com/robfig/cron/v3"
	"im/console/msgPoint"
)

// 初始化Cron
func InitCron() {
	c := cron.New(cron.WithSeconds()) // 按秒计算
	msgPoint.MsgPoint(c)
	go c.Start()
	defer c.Stop()
}



